package com.woniu.his.sms.service;

import com.woniu.his.sms.infra.model.Dept;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.his.sms.service.dto.DeptDto;
import com.woniu.his.sms.service.dto.PageDeptDto;
import com.woniu.his.sms.service.param.AddDeptServiceParam;
import com.woniu.his.sms.service.param.FindDeptServiceParam;
import com.woniu.his.sms.service.param.UpdateDeptServiceParam;

import java.util.List;

/**
 * <p>
 * 科室表 服务类
 * </p>
 *
 * @author cb
 * @since 2022-11-25
 */
public interface DeptService extends IService<Dept> {

    void addDept(AddDeptServiceParam addDeptParam);

    PageDeptDto findDept(FindDeptServiceParam serviceParam);

    List<DeptDto> FindAllDept();

    void deleteDeptByIds(List<Integer> ids);

    void updateDeptById(UpdateDeptServiceParam updateDeptServiceParam);

    DeptDto findDeptById(Integer id);
}
